package org.yejiali.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import org.yejiali.service.OrderService;

/**
 * @Author:yejiali
 * @Date:2025/4/7-04-07-14:34
 * @Decsription:org.yejiali.controller
 * @Version:1.0
 */
@RestController
public class OrderController {
    @Autowired
    OrderService orderService;

    @PostMapping("/order")
    public void order(String message){
        orderService.order(message);
    }
}
